<script>
export default {
  components: {},
  props: {},
  data() {
    return {
      Resource: {
        title: '短跑脚掌落地技巧 ',
        length: 100,
        names: [
          'https://codefun-proj-user-res-1256085488.cos.ap-guangzhou.myqcloud.com/65f29ecf5a7e3f0310674e3b/65f330b90a3c2f00118e3d2d/17105051523258974109.png',
          'https://codefun-proj-user-res-1256085488.cos.ap-guangzhou.myqcloud.com/65f29ecf5a7e3f0310674e3b/65f330b90a3c2f00118e3d2d/17105051527362031931.png',
          'banana',
        ],
      },
      video: {
        title: '全面视频分析跑步状态+跑后姿势改进建议',
        time: '2024.02.27',
        names: [
          'https://codefun-proj-user-res-1256085488.cos.ap-guangzhou.myqcloud.com/65f29ecf5a7e3f0310674e3b/65f330b90a3c2f00118e3d2d/17105051523219778839.png',
          'orange',
          'banana',
        ],
      },
    };
  },

  methods: {},
};
</script>
<template>
  <view class="flex-col page">
    <view class="flex-col self-stretch">
      <view class="flex-col">
        <view class="content">
          <zeng-calen :actDay="actDay" :chooseDay="chooseDay" @onDayClick='onDayClick'></zeng-calen>
        </view>
        <view class="mt-26 flex-col group">
          <view class="flex-col section_2">
            <view class="flex-row justify-between items-center self-stretch">
              <text class="font_7 text">最近一次运动数据</text>
              <view class="flex-row">
                <text class="text_2">详细数据报告</text>
                <image class="shrink-0 image"
                  src="https://ide.code.fun/api/image?token=65f52b1d0a3c2f00118e9e67&name=ffdc529763937460155990026dff3393.png" />
              </view>
            </view>
            <view class="mt-16 flex-row justify-between items-baseline self-stretch group_2">
              <text class="font_3 text_3">项目</text>
              <text class="font_3 text_4">标准</text>
              <text class="font_3 text_5">我的</text>
              <text class="font_3 text_6">差距</text>
            </view>
            <view class="mt-16 flex-col items-center self-start group_3">
              <text class="font_3 text_7">前倾 </text>
              <text class="font_3 text_9 mt-25">步频</text>
              <text class="font_3 text_11 mt-25">屈膝</text>
            </view>

          </view>
          <view class="flex-row items-center group_9">
            <text class="font_7 text_15">视频动态分析</text>
            <view class="flex-col justify-start text-wrapper"><text class="text_16">VIP专享</text></view>
          </view>
        </view>
      </view>
      <view class="flex-row items-center section_3">
        <image class="shrink-0 image_3" :src="video.names[0]" />
        <view class="ml-6 flex-col flex-1 group_10">
          <text class="self-stretch font_1 text_17">{{ video.title }}</text>
          <text class="mt-44 self-start font_1 text_18">{{ video.time }}</text>
        </view>
      </view>
    </view>
    <text class="self-start font_7 text_19">改进推荐教程视频</text>
    <view class="flex-col justify-start self-stretch list">
      <view class="flex-row justify-between items-center list-item" v-for="(item, index) in Resource" :key="index">
        <view class="flex-row items-center">
          <image class="image_4" :src="Resource.names[0]" />
          <view class="ml-10 flex-col items-start">
            <text class="font_1 text_20">{{ Resource.title }}</text>
            <view class="mt-20 flex-col justify-start"><text class="font_1 text_1">{{ Resource.length }}</text></view>
          </view>
        </view>
        <image class="image_5" v-if="true"
          src="https://ide.code.fun/api/image?token=65f52b1d0a3c2f00118e9e67&name=6bb6964af4260c11af83e7806150f889.png" />
      </view>
    </view>
  </view>
</template>
<style lang="scss">
html {
  font-size: 16px;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans',
    'Droid Sans', 'Helvetica Neue', 'Microsoft Yahei', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

view,
image,
text {
  box-sizing: border-box;
  flex-shrink: 0;
}

#app {
  width: 100vw;
  height: 100vh;
}

.flex-row {
  display: flex;
  flex-direction: row;
}

.flex-col {
  display: flex;
  flex-direction: column;
}

.justify-start {
  justify-content: flex-start;
}

.justify-end {
  justify-content: flex-end;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-around {
  justify-content: space-around;
}

.justify-evenly {
  justify-content: space-evenly;
}

.items-start {
  align-items: flex-start;
}

.items-end {
  align-items: flex-end;
}

.items-center {
  align-items: center;
}

.items-baseline {
  align-items: baseline;
}

.items-stretch {
  align-items: stretch;
}

.self-start {
  align-self: flex-start;
}

.self-end {
  align-self: flex-end;
}

.self-center {
  align-self: center;
}

.self-baseline {
  align-self: baseline;
}

.self-stretch {
  align-self: stretch;
}

.flex-1 {
  flex: 1 1 0%;
}

.flex-auto {
  flex: 1 1 auto;
}

.grow {
  flex-grow: 1;
}

.grow-0 {
  flex-grow: 0;
}

.shrink {
  flex-shrink: 1;
}

.shrink-0 {
  flex-shrink: 0;
}

.relative {
  position: relative;
}

.ml-2 {
  margin-left: 3.85rpx;
}

.mt-2 {
  margin-top: 3.85rpx;
}

.ml-4 {
  margin-left: 7.69rpx;
}

.mt-4 {
  margin-top: 7.69rpx;
}

.ml-6 {
  margin-left: 11.54rpx;
}

.mt-6 {
  margin-top: 11.54rpx;
}

.ml-8 {
  margin-left: 15.38rpx;
}

.mt-8 {
  margin-top: 15.38rpx;
}

.ml-10 {
  margin-left: 19.23rpx;
}

.mt-10 {
  margin-top: 19.23rpx;
}

.ml-12 {
  margin-left: 23.08rpx;
}

.mt-12 {
  margin-top: 23.08rpx;
}

.ml-14 {
  margin-left: 26.92rpx;
}

.mt-14 {
  margin-top: 26.92rpx;
}

.ml-16 {
  margin-left: 30.77rpx;
}

.mt-16 {
  margin-top: 30.77rpx;
}

.ml-18 {
  margin-left: 34.62rpx;
}

.mt-18 {
  margin-top: 34.62rpx;
}

.ml-20 {
  margin-left: 38.46rpx;
}

.mt-20 {
  margin-top: 38.46rpx;
}

.ml-22 {
  margin-left: 42.31rpx;
}

.mt-22 {
  margin-top: 42.31rpx;
}

.ml-24 {
  margin-left: 46.15rpx;
}

.mt-24 {
  margin-top: 46.15rpx;
}

.ml-26 {
  margin-left: 50rpx;
}

.mt-26 {
  margin-top: 50rpx;
}

.ml-28 {
  margin-left: 53.85rpx;
}

.mt-28 {
  margin-top: 53.85rpx;
}

.ml-30 {
  margin-left: 57.69rpx;
}

.mt-30 {
  margin-top: 57.69rpx;
}

.ml-32 {
  margin-left: 61.54rpx;
}

.mt-32 {
  margin-top: 61.54rpx;
}

.ml-34 {
  margin-left: 65.38rpx;
}

.mt-34 {
  margin-top: 65.38rpx;
}

.ml-36 {
  margin-left: 69.23rpx;
}

.mt-36 {
  margin-top: 69.23rpx;
}

.ml-38 {
  margin-left: 73.08rpx;
}

.mt-38 {
  margin-top: 73.08rpx;
}

.ml-40 {
  margin-left: 76.92rpx;
}

.mt-40 {
  margin-top: 76.92rpx;
}

.ml-42 {
  margin-left: 80.77rpx;
}

.mt-42 {
  margin-top: 80.77rpx;
}

.ml-44 {
  margin-left: 84.62rpx;
}

.mt-44 {
  margin-top: 84.62rpx;
}

.ml-46 {
  margin-left: 88.46rpx;
}

.mt-46 {
  margin-top: 88.46rpx;
}

.ml-48 {
  margin-left: 92.31rpx;
}

.mt-48 {
  margin-top: 92.31rpx;
}

.ml-50 {
  margin-left: 96.15rpx;
}

.mt-50 {
  margin-top: 96.15rpx;
}

.ml-52 {
  margin-left: 100rpx;
}

.mt-52 {
  margin-top: 100rpx;
}

.ml-54 {
  margin-left: 103.85rpx;
}

.mt-54 {
  margin-top: 103.85rpx;
}

.ml-56 {
  margin-left: 107.69rpx;
}

.mt-56 {
  margin-top: 107.69rpx;
}

.ml-58 {
  margin-left: 111.54rpx;
}

.mt-58 {
  margin-top: 111.54rpx;
}

.ml-60 {
  margin-left: 115.38rpx;
}

.mt-60 {
  margin-top: 115.38rpx;
}

.ml-62 {
  margin-left: 119.23rpx;
}

.mt-62 {
  margin-top: 119.23rpx;
}

.ml-64 {
  margin-left: 123.08rpx;
}

.mt-64 {
  margin-top: 123.08rpx;
}

.ml-66 {
  margin-left: 126.92rpx;
}

.mt-66 {
  margin-top: 126.92rpx;
}

.ml-68 {
  margin-left: 130.77rpx;
}

.mt-68 {
  margin-top: 130.77rpx;
}

.ml-70 {
  margin-left: 134.62rpx;
}

.mt-70 {
  margin-top: 134.62rpx;
}

.ml-72 {
  margin-left: 138.46rpx;
}

.mt-72 {
  margin-top: 138.46rpx;
}

.ml-74 {
  margin-left: 142.31rpx;
}

.mt-74 {
  margin-top: 142.31rpx;
}

.ml-76 {
  margin-left: 146.15rpx;
}

.mt-76 {
  margin-top: 146.15rpx;
}

.ml-78 {
  margin-left: 150rpx;
}

.mt-78 {
  margin-top: 150rpx;
}

.ml-80 {
  margin-left: 153.85rpx;
}

.mt-80 {
  margin-top: 153.85rpx;
}

.ml-82 {
  margin-left: 157.69rpx;
}

.mt-82 {
  margin-top: 157.69rpx;
}

.ml-84 {
  margin-left: 161.54rpx;
}

.mt-84 {
  margin-top: 161.54rpx;
}

.ml-86 {
  margin-left: 165.38rpx;
}

.mt-86 {
  margin-top: 165.38rpx;
}

.ml-88 {
  margin-left: 169.23rpx;
}

.mt-88 {
  margin-top: 169.23rpx;
}

.ml-90 {
  margin-left: 173.08rpx;
}

.mt-90 {
  margin-top: 173.08rpx;
}

.ml-92 {
  margin-left: 176.92rpx;
}

.mt-92 {
  margin-top: 176.92rpx;
}

.ml-94 {
  margin-left: 180.77rpx;
}

.mt-94 {
  margin-top: 180.77rpx;
}

.ml-96 {
  margin-left: 184.62rpx;
}

.mt-96 {
  margin-top: 184.62rpx;
}

.ml-98 {
  margin-left: 188.46rpx;
}

.mt-98 {
  margin-top: 188.46rpx;
}

.ml-100 {
  margin-left: 192.31rpx;
}

.mt-100 {
  margin-top: 192.31rpx;
}

.mt-25 {
  margin-top: 48.08rpx;
}

.page {
  padding: 50rpx 48.08rpx 325rpx;
  background-color: #ecf0f1;
  width: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  height: 100%;

  .section {
    background-color: #ffffff;
    border-radius: 9.62rpx;
    height: 403.85rpx;
  }

  .group {
    padding-top: 7.69rpx;

    .section_2 {
      padding: 17.71rpx 0 20.46rpx 6.85rpx;
      background-color: #ffffff;

      .text {
        line-height: 22.98rpx;
      }

      .text_2 {
        color: #5a6677;
        font-size: 19.23rpx;
        font-family: SourceHanSansCN;
        line-height: 17.94rpx;
      }

      .image {
        width: 25rpx;
        height: 17.31rpx;
      }

      .group_2 {
        padding: 0 5.52rpx;

        .text_3 {
          line-height: 25.25rpx;
        }

        .text_4 {
          line-height: 26.54rpx;
        }

        .text_5 {
          line-height: 26.75rpx;
        }

        .text_6 {
          margin-right: 39.52rpx;
          line-height: 25.44rpx;
        }
      }

      .group_3 {
        margin-left: 7.58rpx;

        .text_7 {
          font-size: 26.92rpx;
          line-height: 24.96rpx;
        }

        .text_9 {
          font-size: 26.92rpx;
          line-height: 24.88rpx;
        }

        .text_11 {
          font-size: 26.92rpx;
        }
      }

      .font_3 {
        font-size: 28.85rpx;
        font-family: SourceHanSansCN;
        line-height: 24.71rpx;
        color: #000000;
      }
    }

    .group_9 {
      padding: 26.92rpx 0 7.69rpx;

      .text_15 {
        line-height: 23.1rpx;
      }

      .text-wrapper {
        padding: 6.19rpx 0 2.9rpx;
        background-color: #6bb2e2;
        border-radius: 96.15rpx;
        height: 26.92rpx;

        .text_16 {
          margin-left: 8rpx;
          margin-right: 5.46rpx;
          color: #ffffff;
          font-size: 19.23rpx;
          font-family: AlibabaPuHuiTi;
          line-height: 17.83rpx;
        }
      }
    }
  }

  .section_3 {
    background-color: #ffffff;

    .image_3 {
      width: 250rpx;
      height: 207.69rpx;
    }

    .group_10 {
      margin-right: 39.38rpx;

      .text_17 {
        line-height: 34.62rpx;
      }

      .text_18 {
        margin-left: 6.4rpx;
        line-height: 20.6rpx;
      }
    }
  }

  .font_7 {
    font-size: 25rpx;
    font-family: AlibabaPuHuiTi;
    line-height: 24.71rpx;
    color: #000000;
  }

  .text_19 {
    margin-top: 32.87rpx;
    line-height: 23.08rpx;
  }

  .list {
    margin-top: 15.21rpx;

    .list-item {
      padding: 5.77rpx 5.77rpx 5.77rpx;
      background-color: #ffffff;
      border-radius: 19.23rpx;
      box-shadow: 0rpx 3.85rpx 7.69rpx #00000040;

      .image_4 {
        border-radius: 19.23rpx;
        width: 115.38rpx;
        height: 115.38rpx;
      }

      .text_20 {
        font-size: 30.77rpx;
        line-height: 28.37rpx;
      }

      .text_1 {
        color: #383838;
        font-size: 26.92rpx;
        line-height: 24.79rpx;
      }

      .image_5 {
        margin-right: 19.23rpx;
        width: 30.77rpx;
        height: 30.77rpx;
      }
    }
  }

  .font_1 {
    font-size: 28.85rpx;
    font-family: AlibabaPuHuiTi;
    color: #000000;
  }
}
</style>
